package top.zhangjianyong.entity;

import java.util.ArrayList;
import java.util.List;

public class NoteList {

    private String id;
    private String name;
    private List<NoteList> list;

    public NoteList() {
        this.list = new ArrayList<NoteList>();
    }

    public void addList(NoteList noteList) {
        this.list.add(noteList);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<NoteList> getList() {
        return list;
    }

    public void setList(List<NoteList> list) {
        this.list = list;
    }
}
